/*
 * Copyright 2014 by État de Genève (Switzerland)
 * All rights reserved.
 *
 * Author: ELCA Informatique SA
 */
define(['plugins/dialog'], function (dialog) {

    var ErrorDialog = function (stackTrace, title, message) {
        this.stackTrace = stackTrace;
        this.title = title;
        this.message = message;
    };

    ErrorDialog.prototype.close = function () {
        dialog.close(this);
    };

    return ErrorDialog;
});